package com.catal.sys.auth;

import java.util.Map;

import com.catal.framework.dao.impl.JdbcDaoImpl;
import com.catal.framework.util.WebContextUtil;

public class RoleDao extends JdbcDaoImpl{

	@Override
	public Map insertRecord(Map values) {
		String roleId = WebContextUtil.generateSequence("role_id");
		values.put("role_id", roleId);
		return super.insertRecord(values);
	}
	
	@Override
	public Map updateRecord(Map values) {
		return super.updateRecord(values);
	}
	
	@Override
	public Map loadByID(String id) {
		return super.loadByID(id);
	}
	
	@Override
	public Map loadByValues(Map values) {
		return super.loadByValues(values);
	}
	
	@Override
	public void deleteByID(String id) {
		super.deleteByID(id);
	}
	
	@Override
	public void deleteByValues(Map values) {
		super.deleteByValues(values);
	}
}
